package com.amigo.online.provider.sync.handle.data.mongo.service;

import java.util.List;

import org.bson.Document;
import org.springframework.data.mongodb.core.query.Query;
import org.springframework.data.mongodb.core.query.Update;

import com.amigo.online.provider.common.entity.UserMongoInfo;
import com.amigo.online.provider.sync.common.GlobalService;
import com.amigo.online.provider.sync.mongo.entity.UserEntity;

public interface UserMongoService extends GlobalService<Document, Query, Update> {

    public List<UserEntity> listUserByIds(List<Long> ids);

    public List<UserMongoInfo> listUserByStartIdAndEndId(int startId, int endId);

    public List<UserMongoInfo> listUserMongoInfoByIds(List<Long> ids);
}
